package com.clay.uml;

/**
 * @Author : clay
 * @Description:
 * @Date: Create in 16:46 2021/3/14
 * @Modified By:
 */
public class Person {
    private String username;
    private int age;
    private boolean gender;
    private String address;

    public Person(String username, int age, boolean gender, String address) {
        this.username = username;
        this.age = age;
        this.gender = gender;
        this.address = address;
    }

    public Person() {
    }


    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public boolean isGender() {
        return gender;
    }

    public void setGender(boolean gender) {
        this.gender = gender;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "Person{" +
                "username='" + username + '\'' +
                ", age=" + age +
                ", gender=" + gender +
                ", address='" + address + '\'' +
                '}';
    }
}
